<template>
  <div class="certificate">
    <el-checkbox-group v-model="checkedCities">
      <div v-for="item in list" :key="item.id" class="certificate-child">
        <el-checkbox :label="item.id">{{ item.name }}</el-checkbox>
      </div>
      <div>
        <el-checkbox :label="17"
          >其他<input class="input-other" type="text" v-model="other" />
        </el-checkbox>
      </div>
    </el-checkbox-group>
    <div class="footer-but">
      <el-button type="primary">保存</el-button>
      <el-button type="info">重置</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "certificate", //证书
  props: {},
  data() {
    return {
      checkedCities: [],
      list: [
        { name: "CFA持证人 (可申请奖学金）", id: 1 },
        { name: "通过CFA三级考试（可申请奖学金）", id: 2 },
        { name: "通过CFA二级考试", id: 3 },
        { name: "通过CFA一级考试", id: 4 },
        { name: "ACCA资深会员（可申请奖学金）", id: 5 },
        { name: "ACCA会员（可申请奖学金）", id: 6 },
        { name: "CIMA/CGMA会员（可申请奖学金）", id: 7 },
        { name: "通过CIMA专业阶段全部考试（可申请奖学金）", id: 8 },
        { name: "CICPA执业会员 (可申请奖学金）", id: 9 },
        { name: "CICPA非执业会员（可申请奖学金）", id: 10 },
        { name: "CICPA全科合格证书 （可申请奖学金）", id: 11 },
        { name: "FRM金融风险管理师（可申请奖学金）", id: 12 },
        { name: "FSA北美正式精算师", id: 13 },
        { name: "ASA北美准精算师", id: 14 },
        { name: "保荐代表人（可申请奖学金）", id: 15 },
        { name: "澳洲注册会计师（可申请奖学金）", id: 16 },
      ],
    };
  },
  methods: {},
  components: {},
};
</script>

<style scoped lang="scss">
.certificate {
  height: 1115px;
  padding-bottom: 30px;
  .certificate-child {
    margin-bottom: 11px;
  }
  .input-other {
    border: none;
    width: 396px;
    border-bottom: 1px solid #88a4b9;
    margin-left: 5px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #5a5a5a;
    &:focus {
      outline: none;
    }
  }
  .footer-but {
    width: 100%;
    text-align: center;
    ::v-deep .el-button {
      margin-top: 80px;
      width: 250px;
      height: 55px;
      &:last-child {
        margin-left: 45px;
      }
    }
  }
}
@media (max-width: 768px) {
  .certificate {
    height: auto;
    .input-other {
      width: 80%;
    }
    .footer-but {
      width: 100%;
      text-align: center;
      ::v-deep .el-button {
        margin-top: 30px;
        width: 125px;
        height: 40px;
        font-size: 16px;
        &:last-child {
          margin-left: 25px;
        }
      }
    }
  }
}
</style>
